package com.commerce.weather.Activity;

import android.content.Intent;
import android.os.Bundle;

import androidx.appcompat.app.AppCompatActivity;

import com.commerce.weather.R;

public class WeclomeActivity extends AppCompatActivity {

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_weclome);
        new Thread(new Runnable() {
            @Override
            public void run() {
                try {
                    Thread.sleep(2509);
                    startActivity(new Intent(WeclomeActivity.this,MainActivity.class));
                } catch (InterruptedException e) {
                    e.printStackTrace();
                }
            }
        }).start();
    }
}